Einhugur Word Plugin for Xojo

EinhugurWord.Paragraph Class

Class which represents paragraphs in the document.

Paragraphs can be top level or can exist inside TableCell objects.

Paragraphs contain zero too many Runs. The runs actually carry the text parts and the styling for each part.

Note that Paragraph can also represent Page Break.

EinhugurWord.DocumentItem
   Paragraph

class EinhugurWord.Paragraph

Constructors

Paragraph (private) Private constructor.

Properties

AlignmentAlignment for the paragraph.
IsPageBreakReturns true if the paragraph is page break
LanguageCodeReturns the language code for the Paragraph or empty string. (Read only property)
ListIndentReturns list indent instance for the paragraph or nil if there was no list indent on the paragraph.
ListIndentLevelReturns ListIndentLevel for the paragraph.
LogicalParagraphItemCountReturns the number of logical paragraph items.
LogicalRunCountReturns the number of logical runs.
ParagraphItemCountReturns number of ParagraphItems in the Paragraph.
RunCountReturns number of runs in the Paragraph.
SectionReturns section object for the given paragraph or nil if the paragraph object has no section.
StyleSets or gets predefined ParagraphStyle for the Paragraph. When reading then nil will be returned no paragraph style has been set.
TextReturns combined text for all Runs in the Paragraph.

Methods

AddBookmarkAroundAdds bookmark around eerie of paragraph items.
AddBookmarkAroundAdds bookmark around paragraph item.
AppendDateFieldAppends date field into the paragraph.
AppendHyperlinkAdds hyperlink to the paragraph.
AppendHyperlinkFieldAppends hyperlink field to the paragraph.
AppendRunAppends run to the paragraph.
AppendRunAppends run at back of the paragraph, creating one run for the image data passed in with this method. (This variation of the AppendRun is to embed images).
AppendShapeAppends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run.
AppendShapeGroupAppends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. This function calls AppendShapeGroupRun, creating run, then it fetches the shape within the run.
AppendShapeGroupRunAppends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShapeGroup function which only returns the shape group.
AppendShapeRunAppends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShape function which only returns the shape group.
AppendTimeFieldAppends time field into the paragraph.
ApplyFieldDataApplies field data to the given Paragraph only.
FirstLineIndentGets or set first-line indent for the paragraph.
InserPageBreakAfter (Inherited) Inserts page break after this document item.
InserPageBreakBefore (Inherited) Inserts page break before this document item.
InsertParagraphAfter (Inherited) Inserts paragraph after this document item.
InsertParagraphBefore (Inherited) Inserts paragraph before this document item.
InsertSectionBreakAfter (Inherited) Inserts section break after this document item.
InsertSectionBreakBefore (Inherited) Inserts section break before this document item.
LeftIndentGets or set left indent for the paragraph.
LogicalParagraphItemFetches ParagraphItem at given index, grouping runs fields that use complex runs into one.
LogicalParagraphItemsReturns ParagraphItemIterator for the items in the paragraph, grouping run fields that use complex runs into one. This function is for using with for each statements.
LogicalRunFetches Run at given index, grouping runs fields that use complex runs into one.
LogicalRunsReturns RunIterator for the runs in the paragraph, grouping run fields that use complex runs into one. This function is for using with for each statements.
ParagraphItemFetches ParagraphItem at given index.
ParagraphItemsReturns ParagraphItemIterator for the items in the paragraph. This function is for using with for each statements.
RemoveParagraphItemRemoves ParagraphItem from the Paragraph.
RightIndentGets or set right indent for the paragraph.
RunFetches Run at given index.
RunsReturns RunIterator for the runs in the paragraph. This function is for using with for each statements.
SetLanguageCodeSets language code for the Paragraph and optionally all runs under the paragraph.
SetListIndentSets list indent for the paragraph.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS